package exception;

public class ThrowDemo {
    public static void main(String[] args) {
        Student zs = new Student();
        try{
            zs.setAge(10000);
            System.out.println(zs.getAge());
        }catch (RuntimeException | IllegalAgeException e){
            System.out.println("11");
        }
    }
}
